LassoScript Utility
Basics Browse Detail

[Image->Blur]

Tag Link [Image->Blur] Category Image
Type Member Source Available Yes
Support Preferred Version 7.0
Change Unchanged Data Source Any
Output Type None Security None
Implementation LCAPI Sets Lasso 8.5, Lasso 8.0, Lasso 7.0

Description

Applies either a motion or Gaussian blur to an image. To apply a motion blur, an -Angle parameter with a decimal degree value must be specified to indicate the direction of the motion. To apply a Gaussian blur, a -Gaussian keyword parameter must be specified, in addition to -Radius and -Sigma parameters.

Syntax


[Image Variable->(Blur: -Angle=Integer)]

Parameters

Required Parameters
-Angle To apply a motion blur, an -Angle paramater with a decimal degree value must be specified to indicate the direction of the motion.
Optional Parameters
-Gaussian To apply a Gaussian blur, a -Gaussian keyword parameter must be specified in addition to -Radius and -Sigma parameters that require decimal values.
-Radius The radius of the Gaussian in pixels. For reasonable results, the radius should be larger than the sigma.
-Sigma he standard deviation of the Gaussian in pixels.

Examples

To apply a motion blur to an image:

Use the [Image->Blur] tag on a defined image variable. The following example applies a motion blur at 20 degrees.

[Var: 'MyImage' =(Image: '/images/image.jpg')]
[$MyImage->(Blur: -Angle=20)]
[$MyImage->(Save: '/images/image.jpg')]

To apply a Gaussian blur to an image:

Use the [Image->Blur] tag with the -Gaussian parameter on a defined image variable. The following example applies a Gaussian blur with a radius of 15 pixels and a standard deviation of 10 pixels.

[Var: 'MyImage' =(Image: '/images/image.jpg')]
[$MyImage->(Blur: -Radius=5, -Sigma=1, -Gaussian)]
[$MyImage->(Save: '/images/image.jpg')]